package fr.labri.macchiato.framework.technical.queryLauncher;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * 
 * Interface for any class able to launch Sparql queries
 * 
 * @author Matthieu FOUCAULT
 *
 */
public interface QueryLauncher {
	
	/**
	 * Executes a Sparql query on a distant model and returns a JSON result
	 * @param query
	 * @param callback
	 */
	void launchQueryForJSON(String query, AsyncCallback<String> callback);
}
